#pragma once
#include "Singleton.h"
#include <SFML/Graphics/Font.hpp>
#include <map>

/*
	Fonts.
	Should be called FontManager, anyway is a dictionary of pre-loaded font's types.
*/

class Fonts : public Singleton<Fonts>
{

public:
	void			Init();
	void			Destroy();

	sf::Font*		GetFont(std::string name);

private:
	typedef std::map<std::string, sf::Font>	FontMap;
	FontMap m_fonts;
};

